<?php
ob_start();
session_start();

include_once("../UserIncludes/DbConfig.php");

include_once("databaseTable.php");

//*********************** CONNECTION CODDE ***************************************//

	$connection = mysql_connect(HOSTNAME,USERNAME,PASSWORD) or die(mysql_error());
	$databse_connection = mysql_select_db(DATABASE) or die(mysql_error());

//********************************** END OF THE CODE ********************//

	$rs_settings = mysql_query("SELECT * from ".GLOBALSETTINGS) or die(mysql_error());
	$row_settings = mysql_fetch_array($rs_settings);
	$url = $_SERVER['REQUEST_URI'];
	$lmt = $row_settings['resultsPerPage'];
	$adminpagelimit=$row_settings['resultsPerPageAdmin'];
    $totalpicks=$row_settings['dailyPicks'];
	$admin_email = $row_settings['adminUrl'];
	$site_name = $row_settings['websiteName'];
	$site_url = $row_settings['siteUrl'];
	$clip_height=$row_settings['clip_height'];
	$clip_width=$row_settings['clip_width'];
	$today = date('Y-m-d');
	$ip = $_SERVER['REMOTE_ADDR'];
	$NoofRowInTab=9;

//*****************************************************************************//
?>